package chapter5;
import java.util.Scanner;
/****************************************************************
 * Author：icynlau
 * Description:  显示ASCII码表
 * Date:2021/4/3
 * ***************************************************************
 */
public class exc5_15 {
	public static void main(String[] args) {
		
		int i=(int)'!';
		int n=(int)'~';
		int base=0;
		int count=0;
		for(;i<=n;i++) {
			System.out.printf(" %c",(char)i);
			count++;
			if(count!=base&&count%10==0) {
				System.out.printf("\n");
				base+=10;
			}
			
		}
		
	}

}
